﻿using System;
using Transformable_Engine_v2.Engine.Graphics;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Platformer_Example.Content.Images.Player
{
    public class SpritesheetAnt : SpriteSheetInstance
    {
        private static SpriteSheetInstance _instance;
        public static void LoadContent()
        {
            _instance = new SpritesheetAnt();
        }
        public new static Sprite GetSprite(Enum textureName)
        {
            return _instance.GetSprite(textureName);
        }
        public static SpriteSheetInstance GetInstance()
        {
            return _instance;
        }

        public override string SpriteSheetPath
        {
            get
            {
                return "Content/Images/Monster/Ant/Ant.png";
            }
        }

        public enum IdleState
        {
            Idle0,
            Idle1
        }

        public enum WalkState
        {
            Walk0,
            Walk1,
        }

        protected override void LoadSprites()
        {
            AddEnumList<IdleState>(IdleState.Idle0, IdleState.Idle1, new TE_Rectangle(0, 0, 2, 2));
            AddEnumList<WalkState>(WalkState.Walk0, WalkState.Walk1, new TE_Rectangle(0, 2, 2, 2));
        }


    }
}